package com.xjrsoft.module.customer.erp_model.goodsManage.service;

import com.xjrsoft.module.customer.erp_model.goodsManage.entity.ErpGoods;
import com.xjrsoft.module.customer.erp_model.goodsManage.dto.ErpGoodsListDto;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xjrsoft.common.page.PageOutput;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 *  服务类
 *
 * @author pp
 * @since 2021-10-09
 */
public interface IErpGoodsService extends IService<ErpGoods> {
	/**
	 * 自定义分页
	 *
	 * @param pageListDto
	 * @return
	 */
	IPage<ErpGoods> getPageList(ErpGoodsListDto pageListDto);
	String addErpGoods(ErpGoods erpGoods);

	boolean updateErpGoods(String id, ErpGoods erpGoods);
}
